package dao;

import java.util.List;

import domain.Answer;

public interface AnswerDao {

	public abstract void save(Answer answer);

	public abstract void update(Answer answer);

	public abstract void delete(int id);
	public abstract Answer findById(int id);

	public abstract List<Answer> list();

	public abstract List<Answer> listByQuestionId(int questionId);
	
}